package com.example.score_reception.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("student_score")
public class StudentScore implements Serializable {
    @TableId(value = "student_score_id", type = IdType.AUTO)
    private Long studentScoreId;
    private Long studentId;
    private Long score;
    private Long classId;
    private Long scoreStatus;

    @TableField(exist=false)
    private Long idClass;
    @TableField(exist=false)
    private String courseName;
}
